package com.aaa.entity;

import java.sql.Timestamp;

public class UserInfo {
    private int userId;
    private String username;
    private String password;
    private String tel;
    private int fk_roleId;
    private Timestamp registTime;

    public UserInfo() {
    }

    public UserInfo(int userId, String username, String password, String tel, int fk_roleId, Timestamp registTime) {
        this.userId = userId;
        this.username = username;
        this.password = password;
        this.tel = tel;
        this.fk_roleId = fk_roleId;
        this.registTime = registTime;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public int getFk_roleId() {
        return fk_roleId;
    }

    public void setFk_roleId(int fk_roleId) {
        this.fk_roleId = fk_roleId;
    }

    public Timestamp getRegistTime() {
        return registTime;
    }

    public void setRegistTime(Timestamp registTime) {
        this.registTime = registTime;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
                "userId=" + userId +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", tel='" + tel + '\'' +
                ", fk_roleId=" + fk_roleId +
                ", registTime=" + registTime +
                '}';
    }
}
